<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>用户管理</title>
</head>
<body>
<table border width="80%">
    <tr>
        <th>头像</th>
        <th>用户名</th>
        <th>真实姓名</th>
        <th>邮箱</th>
        <th>电话</th>
        <th>状态</th>
        <th>审核信息</th>
        <th>明星作者</th>
        <th>首页推荐</th>
        <th>操作</th>
    </tr>
    <!--可以接受$users变量-->
    <?php if(is_array($users)): $i = 0; $__LIST__ = $users;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?><tr>
        <td><img src="/Appstore/Public/uploads/photo/<?php echo ($vo["photo"]); ?>" width="35%"></td>
        <!--/Appstore/Public表示public目录-->
        <td><?php echo ($vo["username"]); ?></td>
        <td><?php echo ($vo['realname']); ?></td>
        <td><?php echo ($vo["email"]); ?></td>
        <td><?php echo ($vo["tele"]); ?></td>
        <td>
            <?php if($vo["state"] == 0): ?>禁用
        <?php elseif($vo["state"] == 1): ?>普通
            <?php else: ?>禁言<?php endif; ?>
        </td>
        <!--0 禁用 1 普通 2 禁言-->
        <td><?php echo ($vo["verifyinfo"]); ?></td>
        <td>
            <?php if($vo["isstar"] == 0): ?>是
                <?php else: ?>否<?php endif; ?>
        </td>
        <td>
            <?php if($vo["isfirst"] == 0): ?>是
                <?php else: ?>否<?php endif; ?>
        </td>
        <td>修改<br>
            删除<br>
            取消明星作者<br>
            取消首先推荐<br>
            禁用</br>
        </td>
    </tr><?php endforeach; endif; else: echo "" ;endif; ?>
</table>

'ROOT:'  /Appstore<br>
'APP:'  /Appstore<br>
'MODULE:'  /Appstore/Admin<br>
'CONTROLLER:'  /Appstore/Admin/Index<br>
'URL:'  /Appstore/Admin/Index<br>
'ACTION:'  /Appstore/Admin/Index/userList<br>
'SELF:'  /Appstore/index.php/Admin/Index/userList<br>
'PUBLIC:'  /Appstore/Public<br>
</body>
</html>